<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../font_3246205_17zecb516es/iconfont.css">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        header {
            height: 70px;
            background-color: rgb(24, 114, 170);
            display: flex;
            justify-content: space-between;
        }
        header h3 {
            margin: 25px 0 0 20px;
            color: white;
        }
        header .right {
            margin: 25px 20px 0 0;
            color: white;
            font-size: 18px;
        }
        header .right .iconfont {
            margin-right: 10px;
        }
        .bottom {
            display: flex;
        }
        aside {
            height: 700px;
            background-color: rgb(24, 114, 170);
            width: 100px;
        }
        aside ul li {
            height: 60px;
            text-align: center;
            line-height: 60px;
            list-style: none;
            color: white;
        }
        aside ul li .iconfont {
            margin-right: 10px;
        }
        aside ul>li:nth-child(3) {
            background-color: gray;
        }
        main {
            flex: 1;
            position: relative;
        }
        main .search {
            margin: 30px;
        }
        main .search input {
            padding-left: 5px;
            width: 250px;
            height: 40px;
            border-radius: 5px;
            border: 1px solid gray;
        }
        main .search button {
            margin-left: 10px;
            height: 40px;
            width: 60px;
            background-color: green;
            color: white;
            text-align: center;
            line-height: 40px;
            border-radius: 5px;
            border: none;
        }
        main .add button {
            width: 100px;
            height: 40px;
            color: white;
            line-height: 40px;
            border-radius: 5px;
            border: none;
            background-color: green;
            margin-left: 30px;
        }
        table {
            margin: 0 30px;
            width: 70%;
            line-height: 40px;
            text-align: center;
            border-collapse: collapse;  
        }
       /*  table tr th {
            width: 200px;
            
        } */
        table tr>th:nth-child(1),tr>td:nth-child(1) {
            text-align: left;
        }
        table tr td {
            border-top: 1px solid gray;
            
        }
        table tbody tr>td:nth-child(6) .status{
            display: inline-block;
            width: 50px;
            height: 30px;
            background-color: greenyellow;
            text-align: center;
            line-height: 30px;
            margin-top: 5px;
            border-radius: 5px;
        }
        table tbody tr>td:nth-child(6) .active{
            display: inline-block;
            width: 50px;
            height: 30px;
            background-color: red;
            text-align: center;
            line-height: 30px;
            margin-top: 5px;
            border-radius: 5px;
        }
        table tbody tr>td:nth-child(7) .iconfont{
            width: 20px;
            height: 18px;
        }
        footer {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
        }
        footer .prev {
            display: inline-block;
            text-align: center;
            width: 70px;
            height: 40px;
            line-height: 40px;
            background-color: aliceblue;
        }
        footer .next {
            display: inline-block;
            text-align: center;
            width: 70px;
            height: 40px;
            line-height: 40px;
            background-color: aliceblue;
        }
    </style>
</head>
<body>
    <header>
        <h3>9466云专题</h3>
        <span class="right"><span class="iconfont icon-yonghu"></span>龙猫(9466云专题)</span>
    </header>
    <div class="bottom">
        <aside>
            <ul>
                <li><span class="iconfont icon-zhuye"></span>首页</li>
                <li><span class="iconfont icon-zhuanti"></span>专题</li>
                <li><span class="iconfont icon-yonghu"></span>用户</li>
                <li><span class="iconfont icon-shezhi"></span>设置</li>
                <li><span class="iconfont icon-rizhi"></span>日志</li>
            </ul>
        </aside>
        <main>
            <div class="search">
                <input type="text" placeholder="搜索用户" class="sousuokuang">
                <button class="sousuo">搜索</button>
            </div>
            <div class="add">
                <button>添加用户</button>
            </div>
            <table>
                <thead>
                  <tr>
                    <th>邮箱(用户)</th>
                    <th>姓名</th>
                    <th>电话</th>
                    <th>所属组</th>
                    <th>管理员</th>
                    <th>状态</th>
                    <th>操作</th>
                  </tr>
                </thead>
                <tbody>
                   <!--  <tr>
                        <td>3rwrew@sina.com</td>
                        <td>李彦宏888</td>
                        <td>13992891022</td>
                        <td>编辑2</td>
                        <td>是</td>
                        <td><span class="status">正常</span></td>
                        <td><span class="iconfont icon-bianji"></span> <span class="iconfont icon-shanchu"></span></td>
                    </tr>
                    <tr>
                        <td>2342342@sina.cm</td>
                        <td>马化腾</td>
                        <td>13992891022</td>
                        <td>编辑2</td>
                        <td>是</td>
                        <td><span class="status">正常</span></td>
                        <td><span class="iconfont icon-bianji"></span> <span class="iconfont icon-shanchu"></span></td>
                    </tr> -->
                </tbody>
            </table>
            <footer>
                <button class="prev">上一页</button>
                <button class="next">下一页</button>
            </footer>
        </main>
    </div>
</body>
</html>
<!-- axios是专门用来发ajax请求的文件   内部会暴露出一个axios对象 -->
<script src="./axios.min.js"></script>
<script src="index.js"></script>
<script>

</script>